#include <Windows.h>
#include "CEquipPacket.h"

CEquipPacket::CEquipPacket(unsigned char invSlotID, unsigned char slotID) {

	this->type = 0x50;
	this->size = 0x04;
	memset(this->data, 0, sizeof(this->data));

	memcpy(&this->data[0x04-0x04], &invSlotID, 1);
	memcpy(&this->data[0x05-0x04], &slotID, 1);
}

CEquipPacket::CEquipPacket(unsigned char linkshellInvSlotID) 
{
	this->type = 0xE0;
	this->size = 0x04;
	memset(this->data, 0, sizeof(this->data));
	memcpy(&this->data[0x04-0x04], &linkshellInvSlotID, 1);
}

CEquipPacket::~CEquipPacket() 
{

}